﻿using System;
using System.Collections.Generic;
using System.Web;
using DAO;

namespace BUS
{
    public class CommentBUS
    {
        private CommentDAO _dDAO;

        public CommentBUS()
        {
            _dDAO = new CommentDAO();
        }

        public bool Them(COMMENT comment)
        {
            return _dDAO.Them(comment);
        }
        public bool Xoa(COMMENT comment)
        {
            return _dDAO.Xoa(comment);
        }
        public COMMENT ChiTiet(String _id)
        {
            return _dDAO.LayID(_id);
        }
        public List<COMMENT> LietKe()
        {
            return _dDAO.LietKe();
        }
    }
}
